package practice;

public class reboundBall {
    public static void main(String[] args) {
    sumDistance();
    }
    public static void sumDistance(){
        double hign = 100d;
        double sum = 0;
        for(int i = 1;i <= 10;i++){
            sum += (hign + hign / 2);
            hign /= 2;
            System.out.println(hign + " " +sum);
        }
        System.out.printf("%.2f\n",sum);
    }
}
